<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>数据代理</title>
    <script src="./js/mvvm.js"></script>
    <script src="./js/compile.js"></script>
    <script src="./js/watcher.js"></script>
    <script src="./js/observer.js"></script>
</head>
<body>
<div id="app">
    <p>{{msg}}</p>
</div>
<script type="text/javascript">
    new MVVM({
        el:'#app',
        data:{
           msg:'北京'
        }
    })
</script>
</body>
</html>